package com.tonann.app.mapper;

import java.util.List;
import com.tonann.app.domain.AppFaultGateway;

/**
 * 网关故障Mapper接口
 * 
 * @author tonann
 * @date 2022-10-15
 */
public interface AppFaultGatewayMapper 
{
    /**
     * 查询网关故障
     * 
     * @param faultId 网关故障主键
     * @return 网关故障
     */
    public AppFaultGateway selectAppFaultGatewayByFaultId(Long faultId);

    /**
     * 查询网关故障列表
     * 
     * @param appFaultGateway 网关故障
     * @return 网关故障集合
     */
    public List<AppFaultGateway> selectAppFaultGatewayList(AppFaultGateway appFaultGateway);

    /**
     * 新增网关故障
     * 
     * @param appFaultGateway 网关故障
     * @return 结果
     */
    public int insertAppFaultGateway(AppFaultGateway appFaultGateway);

    /**
     * 修改网关故障
     * 
     * @param appFaultGateway 网关故障
     * @return 结果
     */
    public int updateAppFaultGateway(AppFaultGateway appFaultGateway);

    /**
     * 删除网关故障
     * 
     * @param faultId 网关故障主键
     * @return 结果
     */
    public int deleteAppFaultGatewayByFaultId(Long faultId);

    /**
     * 批量删除网关故障
     * 
     * @param faultIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppFaultGatewayByFaultIds(Long[] faultIds);
}
